package com.maybach.workflow.common.api.enums;

/**
 * Created by well on 15/6/14.
 */
public enum TaskStateEnum {

    init("初始化",0),
    success("成功",1),
    reject("拒绝",2),
    rollback("回滚",3)
    ;



    private String desc;

    private int status;

    TaskStateEnum(String desc, int status){
        this.desc = desc;
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public int getStatus() {
        return status;
    }
}
